package com.sunxu.exercise;

/**
 * ${DESCRIPTION}
 *
 * @author Sun
 * @create 2017-07-31-16:06
 */
public class Animal {
    private String name = "Tom";
    private int age;

    public String getName() {
        return name;
    }

    public void run() {
        System.out.println("动物类运行了");
    }

    public static void eat() {
        System.out.println("动物类吃饭");
    }

    @Override
    public String toString() {
        return super.toString();
    }
}
